﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Micronet.OpenWeb.Utils;
using Micronet.OpenWeb.Com.BLL;
using Micronet.OpenWeb.Data;
using Micronet.OpenWeb.Entity;
using Micronet.OpenWeb.Common;

namespace Micronet.OpenWeb.OpenWeb.Admin.Views.Shared.Forum
    
{
    public partial class ForumPostsEdit : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (OwConstants.QueryString.ID.OwQsIsExist())
            {
                ForumPostsEditDv.DefaultMode = DetailsViewMode.Edit;
            }
            else
            {
                ForumPostsEditDv.DefaultMode = DetailsViewMode.Insert;

            }
        }
    }
}